//
//  LoginStatus.m
//  ClassRoom
//
//  Created by apple on 12-11-30.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//  text by zh00000000

#import "LoginStatus.h"

@implementation LoginStatus
@synthesize ifLogined;
@synthesize userID;

+(LoginStatus *)sharedLoginStatus
{
    static LoginStatus *sharedloginstatus=nil;
    
    
    @synchronized(self)
    {
        if(!sharedloginstatus)
            sharedloginstatus=[[LoginStatus alloc]init];
        return sharedloginstatus;
    }
}

+(LoginStatus *)LoginedUserID{
    static LoginStatus *LogineduserID=nil;
    
    
    @synchronized(self)
    {
        if(!LogineduserID)
            LogineduserID=[[LoginStatus alloc]init];
        return LogineduserID;
    }
}

@end
